<%@ page language="java" pageEncoding="utf-8" contentType="text/html;charset=UTF-8" %>
 <form id="userInfoForm" method="post">
 <input type="hidden" id="avatar" name="avatar" />
 <input type="hidden" id="area_id" name="areaId" value="${userInfo.district }"/>
 <input type="hidden" name="addrId" value="${userInfo.addrId }"/>
 <input type="hidden" id="accountName" value="${userAccount.accountName }" />
<div class="userform">
	
    <ul>
        <li>
            <span class="label">昵称：</span>
            <span class="input"><input type="text" class="input-text" autocomplete="off"  name="nkname"  value="${empty userInfo.nickName ? '请输入您的昵称': userInfo.nickName }"   /></span>
        </li>
        <li>
            <span class="label">姓名：</span>
            <span class="input"><input type="text" class="input-text" autocomplete="off" name="rname" value="${empty userInfo.realName ? '请输入您的姓名': userInfo.realName }"   /></span>
        </li>
        <li>
            <span class="label"><em>*</em> 性别：</span>
            <span class="input">
                <label>
                    <input type="radio" autocomplete="off" value="1" name="sex" class="self-radio" ${userInfo.sex!=2?'checked=checked':''} class="self-radio" /><span class="label">男</span>
                </label>
                <label>
                    <input type="radio" autocomplete="off" value="2" name="sex" class="self-radio" ${userInfo.sex==2?'checked=checked':''} /><span class="label">女</span>
                </label>
            </span>
        </li>
        <li>
            <span class="label">年龄：</span>
            <span class="input"><input type="text" class="input-text" name="age" value="${(userInfo.age!=null && userInfo.age!=0) ? userInfo.age :'请输入您的年龄' }"  autocomplete="off" id="InputAge" /></span>
        </li>
        <li>
            <span class="label"><em>*</em> 生日：</span>
            <span class="input">
                <input type="text" class="input-text" id="birthday" autocomplete="off" name="birthday" readonly="readonly" name="birthday" value="${ucenter:dateFormat(userInfo.birthday, 'yyyy-MM-dd')}" />
            </span>
        </li>
        <li class="full">
            <span class="label"><em>*</em> 居住于：</span>
            <span class="input">
                <select id="province" name="" class="combox" autocomplete="off">
                	<option selected="selected">${userInfo.province }</option>
                </select>
                <input type="hidden" name="province" value="" id="province_input">
                <select id="city" name="" class="combox" autocomplete="off">
                	<option selected="selected">${userInfo.city }</option>
                </select>
                <input type="hidden" name="city" value="" id="city_input">
                <select id="district" name="" class="combox" autocomplete="off">
                	<option selected="selected">${userInfo.district }</option>
                </select>
                <input type="hidden" name="district" value="" id="district_input">
            </span>
        </li>
    </ul>
</div>
<div class="userform">
	<div class="usubmit" id="uInfoBtn">
	    <a href="javascript:void(0)" class="submit-btn-green uinfo-save-btn"><span class="fore">保存</span><span class="back">处理中...</span></a>
	</div>
</div>
 </form>
 <script>
 _provinceId = ${empty userInfo.province ? 0:userInfo.province };
 _cityId = ${empty userInfo.city ? 0:userInfo.city};
 _districtId = ${empty userInfo.district ? 0:userInfo.district};
 </script>